﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System.Windows.Media;
using System.Windows.Media.Imaging;

namespace iMusik
{
    public partial class SongControl : UserControl
    {
        public SongControl()
        {
            InitializeComponent();         
        }


        private Color _TextColor;

        public Color TextColor
        {
            get { return _TextColor; }
            set { _TextColor = value; 
                Song_Name.Foreground = new SolidColorBrush(_TextColor);
                Singer_Name.Foreground = new SolidColorBrush(_TextColor);
            }
        }

        private string _SrcImg;

        public string SrcImg
        {
            get { return _SrcImg; }
            set { _SrcImg = value;
                    ImageSource im = new BitmapImage(new Uri(_SrcImg));
                    songImage.Source = im;
                }
        }

        private string _SongName;

        public string SongName
        {
            get { return _SongName; }
            set { _SongName = value;
                  Song_Name.Text = _SongName;    
                }
        }

        private string _SingerName;

        public string SingerName
        {
            get { return _SingerName; }
            set { _SingerName = value;
                  Singer_Name.Text = _SingerName;
                }
        }


        
    }
}
